package com.mxpio.erp.common.equipment.entity;

import com.mxpioframework.jpa.annotation.Generator;
import com.mxpioframework.security.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @Description: 点检任务明细选项
 * @Author: MxpIO
 * @Date:   2021-09-23
 * @Version: V1.0
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@Entity
@Table(name = "MB_ERP_EQUIPMENT_CHECK_TASK_DETAIL_PARAM")
@Schema(description="点检任务明细")
public class EquipmentCheckTaskDetailParam extends BaseEntity {
    private static final long serialVersionUID = 1L;

	/**主键*/
    @Id
    @Generator
    @Column(name = "ID_", updatable = false)
    @Schema(description = "ID")
    private String id;
    /**任务*/
    @Column(name = "TASK_ID_")
    @Schema(description = "任务")
    private String taskId;
	/**明细*/
    @Column(name = "DETAIL_ID_")
    @Schema(description = "明细")
    private String detailId;
	/**排序*/
    @Column(name = "NUM_")
    @Schema(description = "排序")
    private Integer num;
	/**选项值*/
    @Column(name = "PARAM_")
    @Schema(description = "选项值")
    private String param;

}
